package jstudio.android.piratedefence;

import android.content.Context;
import android.widget.RelativeLayout;
import android.widget.ProgressBar;
import android.graphics.BitmapFactory;

public class LoadingScene extends RelativeLayout{
	private Context ctx;
	private ProgressBar pBar;
	private ResRepository resRep;
	
	public LoadingScene(Context context){
		super(context);
		ctx = context;
	}
	
	public void init(){
		pBar = new ProgressBar(ctx);
		//resRep = cfx.resRep;
	}
	
	public void loadRes(){
		//load resource here
		resRep.imageRes[0] = BitmapFactory.decodeResource(ctx.getResources(), R.drawable.h0);
		
	}
}
